//package com.lagou.edu.controller;
//
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.cloud.context.config.annotation.RefreshScope;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * 该类用于模拟，我们要使用共享的那些配置信息做一些事情
// */
//@RestController
//@RequestMapping("/config")
//@RefreshScope
//public class ConfigController {
//
//
//    @Value("${spring.datasource.url}")
//    private String sss;
//    @Value("${abc.config}")
//    private String abctest;
//
//    @GetMapping("/viewconfig")
//    public String viewconfig() {
//        return "lagouMessage==>" +    " mysqlUrl=>"   + "======>" + abctest;
//    }
//}
